package com.czk.model.strategy.spring.strategy;

import com.czk.model.strategy.spring.common.Order;
import com.czk.model.strategy.spring.common.PaymentResult;

/**
 * 支付接口
 *
 * @Author:ChenZhangKun
 * @Date: 2021/5/19 16:48
 */
public interface Strategy {
    /**
     * 支付
     *
     * @param order
     * @return
     */
    PaymentResult pay(Order order);
}
